<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>找熟人修</title>
    <meta name="viewport" content="width=device-width"/>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.1/css/jquery-weui.min.css">
    <script src="js/ajax.js"></script>
</head>
<body>
<div id="app" >

</div>

<!-- body 最后 -->
<script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js"></script>

<!-- 如果使用了某些拓展插件还需要额外的JS -->
<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/swiper.min.js"></script>
<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/city-picker.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script src="js/jssdk.js"></script>
<script src="js/getopenid.js"></script>
<script>

    getopenid(function(openid){

        $.showLoading("正在加载...");
        $.get("/find_baoxiuman_byopenid", {openid: openid}, function (data) {
            $.hideLoading();
            if (!data) {
                $.toast("您还未绑定，请您先绑定！","cancel",function(){
                    location = 'baoxiuman_add.html';
                })
            }else{
                app.style.display= "";
            }
        });
    });
    var v = new Vue({
        el: "#app",
        data: {}
    });
</script>

</body>
</html>